/**
 * InsCourseStructureEntity.java
 * com.sftz.assets.entities
 * Copyright (c) 2018, 北京科技有限公司版权所有.
*/

package com.sftz.assets.entities;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
 * @author   闫志彬
 * @Date	 2018年12月13日 	 
 */
@Data
@Table("ins_course_structure")
public class InsCourseStructureEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("名称")
	private String name;

	@Column
	@Comment("课程id")
	private Integer courseId;

	@Column
	@Comment("编号(一级001 二级001002)")
	private String code;

	@Column
	@Comment("1层级 2资源课件")
	private Integer structureType;

	@Column
	@Comment("是否叶子节点（0不是1是）")
	private Integer ifLeaf;

	@Column
	@Comment("资源类型")
	private Integer resourceType;

	@Column
	@Comment("创建者")
	private Integer creator;

	@Column
	@Comment("创建时间")
	private Date createDate;

	@Column
	@Comment("更新时间")
	private Date updateDate;

}
